﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KPIS.GERP.GFMS.MODEL
{
    [Serializable]
    public class M_FIM_ChequeBooks
    {
        private int CHEQUE_BOOK_SEQ;
        private string CHEQUE_BOOK_NO;
        private Nullable<int> BANK_ACC_SEQ;
        private Nullable<int> START_CHEQUE_NO;
        private Nullable<int> END_CHEQUE_NO;
        private string REMARKS;
        private string CHEQUE_BOOK_STATUS;

        private string BANK_ACC_NO;
        private string BANK_ACC_NAME;
        private string CHEQUE_BOOK_STATUS_NAME;

        private string RECORD_STATUS;
        private string RECORD_STATUS_NAME;
        private Nullable<int> CREATED_BY;
        private Nullable<DateTime> CREATED_WHEN;
        private Nullable<int> UPDATED_BY;
        private Nullable<DateTime> UPDATED_WHEN;

        public M_FIM_ChequeBooks()
        {

        }

        public M_FIM_ChequeBooks(
            int CHEQUE_BOOK_SEQ
            , string CHEQUE_BOOK_NO
            , Nullable<int> BANK_ACC_SEQ
            , Nullable<int> START_CHEQUE_NO
            , Nullable<int> END_CHEQUE_NO
            , string REMARKS
            , string CHEQUE_BOOK_STATUS

            , string BANK_ACC_NO
            , string BANK_ACC_NAME
            , string CHEQUE_BOOK_STATUS_NAME

            , string RECORD_STATUS
            , string RECORD_STATUS_NAME
            , Nullable<int> CREATED_BY
            , Nullable<DateTime> CREATED_WHEN
            , Nullable<int> UPDATED_BY
            , Nullable<DateTime> UPDATED_WHEN)
        {
            this.CHEQUE_BOOK_SEQ = CHEQUE_BOOK_SEQ;
            this.CHEQUE_BOOK_NO = CHEQUE_BOOK_NO;
            this.BANK_ACC_SEQ = BANK_ACC_SEQ;
            this.START_CHEQUE_NO = START_CHEQUE_NO;
            this.END_CHEQUE_NO = END_CHEQUE_NO;
            this.REMARKS = REMARKS;
            this.CHEQUE_BOOK_STATUS = CHEQUE_BOOK_STATUS;

            this.BANK_ACC_NO = BANK_ACC_NO;
            this.BANK_ACC_NAME = BANK_ACC_NAME;
            this.CHEQUE_BOOK_STATUS_NAME = CHEQUE_BOOK_STATUS_NAME;

            this.RECORD_STATUS = RECORD_STATUS;
            this.RECORD_STATUS_NAME = RECORD_STATUS_NAME;
            this.CREATED_BY = CREATED_BY;
            this.CREATED_WHEN = CREATED_WHEN;
            this.UPDATED_BY = UPDATED_BY;
            this.UPDATED_WHEN = UPDATED_WHEN;
        }

        public int cheque_book_seq
        {
            set { CHEQUE_BOOK_SEQ = value; }
            get { return CHEQUE_BOOK_SEQ; }
        }

        public string cheque_book_no
        {
            set { CHEQUE_BOOK_NO = value; }
            get { return CHEQUE_BOOK_NO; }
        }

        public Nullable<int> bank_acc_seq
        {
            set { BANK_ACC_SEQ = value; }
            get { return BANK_ACC_SEQ; }
        }

        public Nullable<int> start_cheque_no
        {
            set { START_CHEQUE_NO = value; }
            get { return START_CHEQUE_NO; }
        }

        public Nullable<int> end_cheque_no
        {
            set { END_CHEQUE_NO = value; }
            get { return END_CHEQUE_NO; }
        }

        public string remarks
        {
            set { REMARKS = value; }
            get { return REMARKS; }
        }

        public string cheque_book_status
        {
            set { CHEQUE_BOOK_STATUS = value; }
            get { return CHEQUE_BOOK_STATUS; }
        }


        public string bank_acc_no
        {
            set { BANK_ACC_NO = value; }
            get { return BANK_ACC_NO; }
        }

        public string bank_acc_name
        {
            set { BANK_ACC_NAME = value; }
            get { return BANK_ACC_NAME; }
        }

        public string cheque_book_status_name
        {
            set { CHEQUE_BOOK_STATUS_NAME = value; }
            get { return CHEQUE_BOOK_STATUS_NAME; }
        }

        public string record_status
        {
            set { RECORD_STATUS = value; }
            get { return RECORD_STATUS; }
        }

        public string record_status_name
        {
            set { RECORD_STATUS_NAME = value; }
            get { return RECORD_STATUS_NAME; }
        }

        public Nullable<int> created_by
        {
            set { CREATED_BY = value; }
            get { return CREATED_BY; }
        }

        public Nullable<DateTime> created_when
        {
            set { CREATED_WHEN = value; }
            get { return CREATED_WHEN; }
        }

        public Nullable<int> updated_by
        {
            set { UPDATED_BY = value; }
            get { return UPDATED_BY; }
        }

        public Nullable<DateTime> updated_when
        {
            set { UPDATED_WHEN = value; }
            get { return UPDATED_WHEN; }
        }
    }
}
